﻿<MudButtonGroup FullWidth="ButtonGroupFullWidth">
    @if(Button1Displayed)
    {
        <MudButton FullWidth="Button1FullWidth">Button One</MudButton>
    }
    @if(Button2Displayed)
    {
        <MudButton FullWidth="Button2FullWidth">Button Two</MudButton>
    }
    @if(Button3Displayed)
    {
        <MudButton FullWidth="Button3FullWidth">Button Third</MudButton>
    }
</MudButtonGroup>

@code {
    [Parameter]
    public bool ButtonGroupFullWidth { get; set; } = true;

    [Parameter]
    public bool Button1Displayed { get; set; } = true;

    [Parameter]
    public bool Button1FullWidth { get; set; }

    [Parameter]
    public bool Button2Displayed { get; set; } = true;

    [Parameter]
    public bool Button2FullWidth { get; set; }

    [Parameter]
    public bool Button3Displayed { get; set; } = true;

    [Parameter]
    public bool Button3FullWidth { get; set; }
}